package com.ruoyi.lowcode.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户管理对象 customer
 * 
 * @author ruoyi
 * @date 2023-07-08
 */
public class Customer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 客户名 */
    @Excel(name = "客户名")
    private String username;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 公司名 */
    @Excel(name = "公司名")
    private String corpname;

    /** 用户的唯一标识 */
    @Excel(name = "用户的唯一标识")
    private String customerkey;

    /** 用于计算用户签名 */
    @Excel(name = "用于计算用户签名")
    private String customersecret;

    /** 金钱 */
    @Excel(name = "金钱")
    private Long money;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 状态 */
    @Excel(name = "状态")
    private Integer state;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setCorpname(String corpname) 
    {
        this.corpname = corpname;
    }

    public String getCorpname() 
    {
        return corpname;
    }
    public void setCustomerkey(String customerkey) 
    {
        this.customerkey = customerkey;
    }

    public String getCustomerkey() 
    {
        return customerkey;
    }
    public void setCustomersecret(String customersecret) 
    {
        this.customersecret = customersecret;
    }

    public String getCustomersecret() 
    {
        return customersecret;
    }
    public void setMoney(Long money) 
    {
        this.money = money;
    }

    public Long getMoney() 
    {
        return money;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("username", getUsername())
            .append("password", getPassword())
            .append("corpname", getCorpname())
            .append("customerkey", getCustomerkey())
            .append("customersecret", getCustomersecret())
            .append("money", getMoney())
            .append("address", getAddress())
            .append("state", getState())
            .toString();
    }
}
